package com.chuanke.ckfamily.dao.social;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.chuanke.ckfamily.dao.social.model.FamilyFinance;
import com.weijie.core.BaseDao;

public interface FamilyFinanceDao extends BaseDao<FamilyFinance> {
	/**
	 * 查找用户分享收益
	 * @param param 要求uid channel
	 * @return
	 */
	FamilyFinance findFamilyFinanceByChannel(@Param("param")Map<String, Object> param);

	/**
	 * 查询用户分享次数的
	 * @param param
	 * @return
	 */
	Integer findFinanceCountByChannel(@Param("param")Map<String, Object> param);

}